namespace NGIS.Model
{
	public struct SupportiveResource
	{
		public string resourceType;

		public string resourceName;

		public bool compareOther(SupportiveResource pResource)
		{
			if (resourceType != pResource.resourceType)
			{
				return false;
			}
			if (resourceName != pResource.resourceName)
			{
				return false;
			}
			return true;
		}

		public static bool operator ==(SupportiveResource srA, SupportiveResource srB)
		{
			return srA.compareOther(srB);
		}

		public static bool operator !=(SupportiveResource srA, SupportiveResource srB)
		{
			return !(srA == srB);
		}
	}
}
